<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>登录 | 聚点团购</title>
<jsp:include page="../home/style.jsp" />
<jsp:include page="../home/vForm.jsp" />
</head>
<body>
<div class="topbg"></div>
<div class="container">
	<s:include value="/page/home/top.jsp" />
    <div class="main">
    	<s:include value="/page/home/left.jsp" />
        <div class="content">
        	<div class="today_tuan">
            	<div class="cont_top"></div>
                <div class="cont_body">
                	<div class="regist">
                    	<div class="regist_tit"><span>登录</span> 或者 <a href="#" class="logintxt">注册</a></div>
                        <s:form action="/user/login" method="post"  onsubmit="return vform(this)">
                        	<div class="formlist clear">
                            	<label><span class="list_tit">Email</span><s:textfield name="email" cssClass="ipt w290" id="email"/></label>
                                <p class="regist_tip">登录及找回密码用，不会公开</p>
                            </div>
                            <div class="formlist clear">
                            	<label><span class="list_tit">密码</span><s:password name="password" cssClass="ipt w290" id="password"/></label>
                                <p class="regist_tip"><a href="#" class="logintxt">忘记密码？</a></p>
								<p class="vMsg_tip">
								<s:if test="loginMsg == 100">
									此用户不存在！
								</s:if>
								<s:if test="loginMsg == 200">
									密码错误！
								</s:if>
								<s:if test="loginMsg == 300">
									此用户没被激活！
								</s:if>
								</p>
                            </div>
                            <p class="regist_tip"><label><input type="checkbox" class="ipc" />下次自动登录</label></p>
                            <s:submit cssClass="regist_btn" key="denglu" />
                        </s:form>
                    </div>
                </div>
                <div class="cont_down2"></div>
            </div>
            
            <s:include value="/page/home/footer.jsp" />
        </div>
    </div>
</div>
<script type="text/javascript">init();</script>
</body>
</html>
